package com.example.mapper;

import com.example.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface ShiroJwtMapper extends Mapper<User> {

	@Select("select id,name,pwd,perms from tb_user where name=#{name}")
	User queryByName(@Param("name") String name);

}
